﻿using Entity.Models.Entities;
using System;
using System.Collections.Generic;
using System.Text;

namespace Entity.Models.vo
{
    /// <summary>
    /// 穿梭框vo类
    /// </summary>
    public class TransferVo
    {
        /// <summary>
        /// id
        /// </summary>
        public string value { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string title { get; set; }

        public TransferVo(MenuInfo menuInfo)
        {
            this.value = menuInfo.Id;
            this.title = menuInfo.Title;
        }
        public TransferVo(WorkFlow_Model work)
        {
            this.value = work.Id;
            this.title = work.Title;
        }
        public TransferVo(ConsumableInfo work)
        {
            this.value = work.Id;
            this.title = work.ConsumableName;
        }
        public TransferVo()
        {
        }
    }
}
